﻿using MESPro.Models;
using SqlSugar;
using System;
using System.Collections.Generic;

namespace MESPro.Global
{
    /// <summary>
    /// 全局信息
    /// </summary>
    public class App
    {
        #region 字段
        /// <summary>
        /// 当前登录者信息
        /// </summary>
        public static User User { get; set; } = new User() {  Roles=new List<Role>() { new Role() { Id=1}} };
        /// <summary>
        /// 系统语言字典集合
        /// </summary>
        public static List<DisLanguage> DisLanguages { get; set; } = new();
        #endregion 字段
    }
}